<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>跳转提示</title>
	<link rel="stylesheet" href="">
</head>
<style>
	body{
		margin: 0;
		padding: 0;
	}
	.sts_box{
		position: absolute;
		height: 100%;
		width: 100%;
		background-color: #fff;
		overflow: hidden;
		text-align: center;
	}
	.sts_zt_tp{
		margin-top: 30px;
	}
	.sts_zt{
		margin-top: 30px;
		font-size: 26px;
		color: #000;
	}
	.sts_an{
		margin-top: 55px;
	}
.sts_an .z{
	margin-right: 15px;
}
.sts_an .y{
	margin-left: 15px;
}
.sts_k{
	position: relative;
	top: 50%;
	margin-top: -215px;
}
.jump{
	margin-top:600px;
}
</style>
<body>
	<div class="sts_box">
		{if condition="$code eq 1"}
		<div class="sts_k">
			<div class="sts_x"><img src="__static__/hry/jump/2_03.png" alt=""></div>
			<div class="sts_zt_tp"><img src="__static__/hry/jump/2_07.png" alt=""></div>
			<div class="sts_zt">{$msg}</div>
			<div class="sts_an">
				<a href="/" class="z"><img src="__static__/hry/jump/1_11.png" alt=""></a>
				<a class="y" href="<?php echo($url);?>"><img src="__static__/hry/jump/1_13.png" alt=""></a>
			</div>
		</div>
		{else /}
		<div class="sts_k">
			<div class="sts_x"><img src="__static__/hry/jump/1_03.png" alt=""></div>
			<div class="sts_zt_tp"><img src="__static__/hry/jump/1_07.png" alt=""></div>
			<div class="sts_zt">{$msg}</div>
			<div class="sts_an">
				<a href="/" class="z"><img src="__static__/hry/jump/1_11.png" alt=""></a>
				<a class="y" href="<?php echo($url);?>"><img src="__static__/hry/jump/1_13.png" alt=""></a>
			</div>
		</div>
		{/if}
        <p class="jump">
            页面自动 <a id="href" href="<?php echo($url);?>">跳转</a> 等待时间： <b id="wait"><?php echo($wait);?></b>
        </p>
	</div>
</body>
    <script type="text/javascript">
        (function(){
            var wait = document.getElementById('wait'),
                href = document.getElementById('href').href;
            var interval = setInterval(function(){
                var time = --wait.innerHTML;
                if(time <= 0) {
                    location.href = href;
                    clearInterval(interval);
                };
            }, 1000);
        })();
    </script>
</html>